package com.example.seckillweb.service;

import com.example.seckillweb.mapper.Goods;

/**
* @author smc
* @description 针对表【goods】的数据库操作Service
* @createDate 2023-12-18 21:25:55
*/
public interface GoodsService {

    int deductStock(Goods goods);


    int deductStock(Integer goodsId);

    void secKill1(Integer goodsId, Integer userId);

    void secKill2(Integer goodsId, Integer userId);

    void secKill3(Integer goodsId, Integer userId);

    void secKill4(Integer goodsId, Integer userId);
    void secKill5(Integer goodsId, Integer userId);
    void secKill6(Integer goodsId, Integer userId);
    void secKill7(Integer goodsId, Integer userId);

    void secKill8(Integer goodsId, Integer userId);


}
